package com.lefeng.cockpit.common.bean.dto.job;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用于启动任务接收的实体
 *
 * @author weifw
 */
@Data
public class TriggerJobDto implements Serializable {

    private String executorParam = "";

    @ApiModelProperty(value = "任务编号")
    @NotNull(message = "jobId 不能为空")
    private int jobId;
}
